.text

#define DEF(n,a) \
	.globl n; n = a

#define NSTUB(name, addr)\
	.globl _##name ;\
	.weak _##name ;\
	_##name: ;\
	ldr  pc, = ## addr

#define NHSTUB(name, addr)\
	.globl _##name ;\
	_##name: ;\
	ldr  pc, = ## addr

#define STUB(addr)\
	.globl sub_ ## addr ;\
	sub_ ## addr: ;\
	ldr  pc, =0x ## addr
